<template>
  <el-container>
    <el-header style="background-color: #a8a8a8;text-align: center"><div style="float: right;margin-top: 30px">
      <span><el-icon><search /></el-icon></span>
      <span><el-icon><share /></el-icon></span>
      <span> <el-dropdown>
    <span class="el-dropdown-link">
     username
      <el-icon class="el-icon--right">
        <arrow-down />
      </el-icon>
    </span>
    <template #dropdown>
      <el-dropdown-menu>
        <el-dropdown-item>logout</el-dropdown-item>
      </el-dropdown-menu>
    </template>
  </el-dropdown></span></div></el-header>
    <el-main style="background-color:#a8a8a8">
     <router-view></router-view>
    </el-main>
    <el-footer style="background-color:#a8a8a8">web前端实战开发课程版权所有</el-footer>
  </el-container>
</template>

<script>
import { ArrowDown,Search,Share } from '@element-plus/icons-vue'
export default {
name: "RightMenu",
  components:{
  ArrowDown,
    Search,
    Share
  }
}
</script>

<style scoped>
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
  height: 400px;
}


</style>